package com.atcumt.alibaba;

class Animal {
    public void move() {
        System.out.println("animal move");
    }
}

class Dog extends Animal {
    public void move() {
        System.out.println("dog move");
    }
    public void bark() {
        System.out.println("dog bark");
    }
}
public class XM02 {
    public static void main(String[] args) {
        System.out.println(getVal());
    }
    public static int getVal(){
        int i = 1;
        try {
            i++;
            return i++;
        } finally {
            // TODO: handle exception
            // return ++i;
        }
    }


}
